﻿public class NetEvent_LikeMoment : NetSendEvent
{
    public LikeMomentData likeData = new LikeMomentData();
    protected override ISerialize data
    {
        get
        {
            return likeData;
        }
    }


    public NetEvent_LikeMoment() : base()
    {
        message.key = "LikeMoment";
    }

    protected override void OnSend(Remote connect)
    {
        //GameDebug.Log($"NetEvent_UpdateDiamond :{diamondData.diamond}  发送到：{(connect as TCPClient)?.userID}");
    }
}
public class NetEvent_LikeComment : NetSendEvent
{
    public LikeCommentData likeData = new LikeCommentData();
    protected override ISerialize data
    {
        get
        {
            return likeData;
        }
    }


    public NetEvent_LikeComment() : base()
    {
        message.key = "LikeComment";
    }

    protected override void OnSend(Remote connect)
    {
        //GameDebug.Log($"NetEvent_UpdateDiamond :{diamondData.diamond}  发送到：{(connect as TCPClient)?.userID}");
    }
}
